package com.milotnt.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "社区评论实体类")
@Data
public class CommunityCommentEntity extends BaseEntity{

    @Schema(description = "帖子id")
    @TableField("post_id")
    private Long postId;

    @Schema(description = "会员账号")
    @TableField("member_id")
    private Long memberId;

    @Schema(description = "父级id")
    @TableField("parent_id")
    private Long parentId;

    @Schema(description = "内容")
    @TableField("content")
    private String content;

    @Schema(description = "会员名称")
    private String memberName;
}
